import request from "@/utils/request";

// 查询微信推送配置列表
export function wxmessageList() {
  return request({
    url: "/wxmessage/config",
    method: "get",
  });
}

// 查询单条微信推送配置
export function wxmessageId() {
  return request({
    url: "/wxmessage/config",
    method: "get",
  });
}

// 查询单条微信推送配置
export function putWxmessage(data) {
  return request({
    url: "/wxmessage/config",
    method: "put",
    data: data,
  });
}

// 查询单条微信推送配置
export function TestWxmessage() {
  return request({
    url: "/wxmessage/config/test" ,
    method: "get",
  });
}
